WOL doesn't work if set to anything other than `a` but this setting makes it boot all the time

Posted by Elton Carvalho on Server Fault See other posts from Server Fault or by Elton Carvalho
Published on 2013-11-05T13:39:29Z Indexed on 2013/11/05 15:57 UTC
Read the original article Hit count: 239

Filed under:
|

I manage a small "cluster" of 4 Xeon machines with Intel boards in my lab. They are all plugged to a 5-port 3-Com switch with static IP addresses like 10.0.0.x.

They are all running OpenSuse 11.4 and their /home/ is served by one of the machines (node00) via NFS. They are plugged to an UPS that can keep them on for ca. 15 minutes, but there are lots of electric shortages due to "unscheduled maintenace" that are longer than this. So they end up being powered down without notice.

If I set the BIOS to turn them on after power shortages, the issue is that they all boot at the same time and, if node00 decides to run fsck in the /home/ partition, it does not finish booting before the others try to NFS mount their /home/.

I am trying to make wake on lan work, so I can choose to boot the NFS clients only after the server has successfully booted. The problem is that when I run ethtool I get an output like this:

Supports Wake-on: pumbag
Wake-on: g

Theoretically, it is set to wake on MagicPacket(tm), according to the manual. But sending the WOL packet using wol -i 10.0.0.255 $MACADDR does not wake up the box after I shut it down with halt. The ethernet link led blinks after I send the packet, so it appears to be getting to the machine.

However, if I set it up with ethtool -s eth1 wol bag, the machine always wakes up right after halting, even if I don't send the Magic packet. This means that the device can wake up with LAN activity, but seems to be ignoring the magic packet. Setting wol ag does not wake the box with the MagicPacket.

Does setting wol a mean that it should boot with any broadcast message?

How can I diagnose the issue of the machine not waking up with the MagicPacket even though I am sending it and it's set up to wake up with it?

Thanks in advance!

© Server Fault or respective owner

Related posts about opensuse

Related posts about wake-on-lan

  • Wake on Lan password.

    as seen on Super User - Search for 'Super User'
    I have a Windows 7 machine, with Intel 82567LM LAN Card. I am trying to enable Wake on Lan with password. Can somebody please tell me how to set the password for Wake on Lan. I shall be grateful for any pointers/links etc. Thanks. PS. Can someone please suggest a small utility for wake on lan, that… >>> More

  • Mac Mini Wake on Lan

    as seen on Super User - Search for 'Super User'
    My Mac Mini has a setting in the Energy Saver category called Wake for Ethernet network access. Now the way I read this option is that any network access to the Mac whilst it is asleep will wake it up, but it doesn't. I have read that I have to send it the magic packet to wake it up, but what… >>> More

  • Wake on LAN has stopped working after installing Windows 7

    as seen on Super User - Search for 'Super User'
    I have a Dell XPS 630i that came loaded with Windows XP. Wake-on-LAN has always worked fine on it; I send the magic packet and the machine comes to life. Since installing Windows 7, however, it stopped working. What could be the problem? >>> More

  • VMWare ESXi 3.5 Wake On Lan

    as seen on Server Fault - Search for 'Server Fault'
    Hello everyone! I am using VMWare ESXi 3.5 on my server, and I want to be able to remotely boot the server up. In the bios settings of the computer, I enabled Wake on Lan. I know usually with Windows XP and other Windows Operating Systems, you have to also enable wake on lan in the network card settings… >>> More

  • wakeonlan from remote host

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I have setup wake on lan service on my server. Everything works fine on local area network: root@server$: poweroff user@local$ wakeonlan AA:BB:CC:DD:EE:FF and the server wakes up. AA:BB:CC:DD:EE:FF is a MAC address of my server, which has IP 192.168.1.2 and hostname: example.com. It is connected… >>> More